#!/usr/bin/env bash

read -rp "please input the first string :" str_01
read -rp "please input the first string :" str_02

# [ "${str_01}" = "${str_02}" ] is the same, but not recommended
if [ "${str_01}" == "${str_02}" ]; then
    echo "they are equal..."
elif [[ "${str_01}" > "${str_02}" ]]; then
    echo "the first string is bigger..."
else
    echo "the second string is bigger..."
fi
